# $Id: PKGBUILD 88339 2013-04-16 13:32:26Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Jonathan Wiersma <archaur at jonw dot org>

pkgname=virtviewer
pkgver=0.5.5
pkgrel=1
pkgdesc="A lightweight interface for interacting with the graphical display of virtualized guest OS."
depends=('gtk-vnc' 'libglade>=2.6.0' 'libvirt')
makedepends=('intltool')
url="http://virt-manager.et.redhat.com"
arch=('i686' 'x86_64')
license=('GPL')
source=("http://virt-manager.et.redhat.com/download/sources/virt-viewer/virt-viewer-$pkgver.tar.gz")
md5sums=('a5516d33a29df5d135611c4667c03f77')

build() {
  cd $srcdir/virt-viewer-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd $srcdir/virt-viewer-$pkgver
  make DESTDIR=$pkgdir install
}
